package com.yfp.group.domain.vo;

import com.yfp.common.core.annotation.Excel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 *
 * @version 1.0
 * @date 2024-08-12 16:13
 */
@Data
public class EnterpriseOrderVO {

    /**
     * 订单编号
     */
    @Schema(description = "订单编号")
    @Excel(name = "订单编号", needMerge = true, sort = 1)
    private String orderSn;

    /**
     * 下单商户
     */
    @Schema(description = "下单商户")
    @Excel(name = "下单商户", needMerge = true, sort = 2)
    private String enterpriseName;

    /**
     * 套餐总数
     */
    @Schema(description = "套餐总数")
    @Excel(name = "套餐总数", needMerge = true, sort = 3)
    private Integer comboNum;

    /**
     * 套餐总金额
     */
    @Schema(description = "套餐总金额")
    @Excel(name = "套餐总金额", needMerge = true, sort = 4,cellType = Excel.ColumnType.NUMERIC)
    private BigDecimal money;

    /**
     * 下单时间
     */
    @Schema(description = "下单时间")
    @Excel(name = "下单时间", needMerge = true, sort = 5)
    private String createTime;

    /**
     * 支付方式1微信2微信二维码3余额
     */
    @Schema(description = "支付方式1微信2微信二维码3余额")
    @Excel(name = "支付方式", needMerge = true, sort = 6,readConverterExp = "1=微信,2=微信二维码,3=余额")
    private Integer payWay;

    /**
     * 企业地址
     */
    @Schema(description = "企业地址")
    @Excel(name = "企业地址", needMerge = true, sort = 7)
    private String enterpriseSite;

}
